package org.rexsong.sample.petstore.services;

import org.rexsong.sample.petstore.exceptions.CustomerExistsException;
import org.rexsong.sample.petstore.models.Customer;

import java.util.List;

public interface CustomerService {
    Customer addCustomer(Customer customer) throws CustomerExistsException;
    List<Customer> findAll();
}
